package com.hcxy.filetransform.domain;

public class FileStateCacheLog {
	private TransformLog log;
	private long progress=0;
	private long fileLength;
	public long getFileLength() {
		return fileLength;
	}
	public void setFileLength(long fileLength) {
		this.fileLength = fileLength;
	}
	private boolean finish;
	public TransformLog getLog() {
		return log;
	}
	public void setLog(TransformLog log) {
		this.log = log;
	}
	public long getProgress() {
		return progress;
	}
	public void setProgress(long progress) {
		this.progress = progress;
	}
	public boolean isFinish() {
		return finish;
	}
	public void setFinish(boolean finish) {
		this.finish = finish;
	}
	
	public void addProgress(long size){
		progress+=size;
	}
}
